![]() |
MPSetExceptionHandler |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Sets an exception handler for a task.
OSStatus MPSetExceptionHandler ( MPTaskID task, MPQueueID exceptionQ );
The task to associate with the exception handler.
The message queue to which an exception message will be sent.
A result code.
When an exception handler is set and an exception occurs, the task is suspended and a message is sent to the message queue specified by exceptionQ. The message contains the following information:
Introduced with Multiprocessing Services 2.0.
Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)